<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title><s:property value="messageTitle" />
		</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<script type="text/javascript" src="js/jquery.js">
</script>
		<script type="text/javascript" src="tools/pushlet/ajax-pushlet-client.js">
</script>
		<script type="text/javascript" src="tools/pushlet/util.js">
</script>
		<script type="text/javascript">
$(document).ready(function() {
	var temp = $("#mDetail").val();
	if (temp == "邮件已经成功发送到对方邮箱") {		
		p_join();
		p_publish('newMail', 'action', 'remind','nick','nick'); 
	}
})
</script>
	</head>

	<body>
		<h1>
			<s:property value="messageTitle" />
		</h1>
		<h4>
			<s:property value="messageDetail" />
		</h4>
		<input type="hidden" id="mDetail"
			value='<s:property value="messageDetail"/>' />
	</body>
</html>
